## GNU Lesser General Public License
## 
## Program pyNastran - a python interface to NASTRAN files
## Copyright (C) 2011-2012  Steven Doyle, Al Danial
## 
## Authors and copyright holders of pyNastran
## Steven Doyle <mesheb82@gmail.com>
## Al Danial    <al.danial@gmail.com>
## 
## This file is part of pyNastran.
## 
## pyNastran is free software: you can redistribute it and/or modify
## it under the terms of the GNU Lesser General Public License as published by
## the Free Software Foundation, either version 3 of the License, or
## (at your option) any later version.
## 
## pyNastran is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
## 
## You should have received a copy of the GNU Lesser General Public License
## along with pyNastran.  If not, see <http://www.gnu.org/licenses/>.
## 
class InvalidCodeError(RuntimeError):
    pass

class InvalidAnalysisCodeError(InvalidCodeError):
    pass

class InvalidATFSCodeError(InvalidCodeError):
    pass

class InvalidFormatCodeError(InvalidCodeError):
    pass


class InvalidGridID_Error(ValueError):
    pass

class AddNewElementError(InvalidCodeError):
    pass

class EndOfFileError(RuntimeError):
    pass

class TapeCodeError(RuntimeError):
    pass

class ZeroBufferError(RuntimeError):
    pass

class BufferError(RuntimeError):
    pass

class InvalidMarkersError(RuntimeError):
    pass

class InvalidMarkerError(RuntimeError):
    pass

class InvalidKeywordError(RuntimeError):
    pass